-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix getJpegInfo
to skip DHT marker
#3667
fix getJpegInfo
to skip DHT marker
#3667
Conversation
Hello @HackbrettXXX, is it possible to check and merge this fix ? We are multiple people facing this issue. I can provide an image that creates the issue when used using addImage if you want me to. Thanks. |
Linking PR to issue. Fixes #3318 |
Hello @MrRio, can you or someone else review and merge this request ? Thanks |
We also had this issue and this PR fixes it. Can someone merge this, please? |
312ae22
to
0d4bddd
Compare
To add to insight to this fix, the original As you can see here, Define Huffman table marker (FFC4), 0xC4 is a marker for the Huffman table. My fix skips |
Can this be re-opened? This fix is useful. Is there something that is missing from the PR to prevent it from being approved and merged? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks good to me.
Fixes #3318.
getJpegInfo
now skips the DHT marker (0xc4
) because that marker is not a SOF (start of frame) marker and therefore the segment to follow does not have the size information.